<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

{#<form action="{% url 'indexx' 2 %}" method="post">#}

{#<form action="{{ request.path_info }}" method="post">#}
<form action="{% url 'indexx' nid=2 uid=3 %}" method="post">
    <p><input type="text" name="user" placeholder="用户名"></p>

    <p><input type="text" name="邮箱" placeholder="邮箱"></p>

    <p><input type="submit" value="提交"></p>
</form>
    <ul>
        {% for k,row in user_dict.items %}
            <li><a target="_blank" href="/detail-{{ k }}.html">{{ row.name }}</a></li>
        {% endfor %}
    </ul>
{#    {{ user_dict }}#}
{#    <ul>#}
{#        {% for k,v in user_dict.items %}#}
{#            <li>{{ k }}----{{ v }}</li>#}
{#        {% endfor %}#}
{#    </ul>#}
</body>
</html>